package com.coffee.dao;

import com.coffee.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartDAO {

    ShoppingCart selectCoffeeById(String coffeeId, String userId);

    void updateById(ShoppingCart shoppingCart);

    void insert(ShoppingCart shoppingCart);

    List<ShoppingCart> list(String userId);

    void remove(String userId);

    void update(ShoppingCart shoppingCart);
}
